﻿<phone:PhoneApplicationPage 
    x:Class="OnlineVideos.AboutMemory"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False" Loaded="PhoneApplicationPage_Loaded" >

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot"  Background="{StaticResource bipivot}" >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="80"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="10,17,0,28" Orientation="Horizontal">
            <Image Style="{StaticResource DetailPagePivotTitleImage}" x:Name="imgTitle" MouseLeftButtonDown="imgTitle_MouseEnter"/>
            <TextBlock x:Name="tblkVideosTitle"  Text="ABOUT THIS APP"  Style="{StaticResource DetailPagePivotTitle}"/>
        </StackPanel>


        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">

            <Grid.RowDefinitions>
                <RowDefinition Height="80"/>
                <RowDefinition Height="80"/>
                <RowDefinition Height="80"/>
                <RowDefinition Height="80"/>
                <RowDefinition Height="80"/>
                <RowDefinition Height="78"/>
               
            </Grid.RowDefinitions>
            <StackPanel Margin="12,0,0,0" Orientation="Horizontal" Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Top" >
                <TextBlock Text="Application Version:  " FontSize="24" Foreground="White"></TextBlock>
                <TextBlock x:Name="Version" FontSize="24" TextWrapping="Wrap" Foreground="White"></TextBlock>
            </StackPanel>
            
            <StackPanel Margin="12,0,0,0" Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Top">
                <TextBlock Text="Network Type :  " FontSize="24" Foreground="White"></TextBlock>
                <TextBlock x:Name="txtNetworktype" FontSize="24" TextWrapping="Wrap" Foreground="White"></TextBlock>
            </StackPanel>
            
            <StackPanel Margin="12,0,0,0" Orientation="Horizontal" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Top">
                <TextBlock Text="Device Total Memory:  " FontSize="24" Foreground="White"></TextBlock>
                <TextBlock x:Name="txtdevicetotalmemory" FontSize="24" TextWrapping="Wrap" Foreground="White"></TextBlock>
                <TextBlock Text="MB" FontSize="24" Margin="5,0,0,0" TextWrapping="Wrap" Foreground="White"></TextBlock>
            </StackPanel>
            <StackPanel Margin="12,0,0,0" Orientation="Horizontal" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Top">
                <TextBlock Text="Current Memory Usage:  " FontSize="24" Foreground="White"></TextBlock>
                <TextBlock x:Name="txtmemoryUsage" FontSize="24" TextWrapping="Wrap" Foreground="White"></TextBlock>
                <TextBlock Text="MB" FontSize="24" Margin="5,0,0,0" TextWrapping="Wrap" Foreground="White"></TextBlock>
            </StackPanel>
            <StackPanel Margin="12,0,0,0" Orientation="Horizontal" Grid.Row="4" HorizontalAlignment="Left" VerticalAlignment="Top">
                <TextBlock Text="Peak Memory Usage:  " FontSize="24" Foreground="White"></TextBlock>
                <TextBlock x:Name="txtpeakmemoryUsage" FontSize="24" TextWrapping="Wrap" Foreground="White"></TextBlock>
                <TextBlock Text="MB" FontSize="24" Margin="5,0,0,0" TextWrapping="Wrap" Foreground="White"></TextBlock>
            </StackPanel>
            <Button x:Name="btnagentlog" Content="Background Agent Log" Click="btnagentlog_Click" Grid.Row="5" Height="70" Foreground="White" BorderBrush="White"></Button>

        </Grid>
        <StackPanel  Name="adstackpl" Grid.Row="2" Orientation="Vertical"  Margin="0,0,0,0" Height="80" >
        </StackPanel>
    </Grid>
</phone:PhoneApplicationPage>
